package com.zyy.game.tianlong.network.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 事件调用方法
 * @author relufi
 * @date 2019/7/24 0024
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface GameEvent {
    /**
     * @see com.zyy.game.tianlong.network.SocketMsg
     * @see com.zyy.game.tianlong.codes
     * @return 事件Code
     */
    int value();
}
